﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Viki1
{
    public partial class AddClass : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)

        {

            if (Session["username"] == null)
            {
                Response.Write("<script language='javascript'>alert('请先登录')</script>");
            
                Response.Redirect("../login.aspx");
            }
            
                
        }
    }
}